import { Button } from 'antd'
import React from 'react'
import { useNavigate } from 'react-router-dom';
import './notFound.less'

export default function NotFound() {
  const navigate = useNavigate();
  const back =()=>{
    navigate(-1,{replace:true})
  }
  return (
    <div className='notFound_box'>
      <div className='notFound'>
        <Button onClick={back}>GO BACK</Button>
      </div>
    </div>
  )
}
